<template>
  <a
    class="cq-btn-more icon icon-arrow-right"
    :class="className"
    href="javascript:;"
  >
    <slot></slot>
  </a>
</template>

<script>
export default {
  name: 'btn-more',
  props: {
    className: {
      type: Array,
      default: () => []
    }
  },
  computed: {
    // ['btn-brand', 'btn-bran1']
    getClassName () {
      return this.className
    }
  }
}
</script>

<style lang="scss" scoped>
.cq-btn-more.btn-brand {
  color: #fff;
  border-color: #bac6d4;
}

.cq-btn-more {
  box-sizing: border-box;
  display: inline-block;
  width: 150px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: solid 1px #ff7200;
  border-radius: 20px;
  font-size: 16px;
  color: #ff7200;
}

.cq-btn-more:hover:after {
  transform: translateX(3px);
}
.cq-btn-more.btn-brand:after {
  color: #fff;
}

.cq-btn-more:hover {
  text-decoration: none;
}
.bgc-white {
  background-color: rgba(255, 255, 255, 0.2);
}
</style>
